#!/usr/bin/python3
# -*- coding: utf-8 -*-

# @file postprocess.py
# @brief
# @author QRS
# @version 1.0
# @date 2022-02-18 16:49


from frepai.core.base import TaskBase
from frepai.core.message import ServiceType
from frepai.constants import POSTPROCESS_TOPIC


class PostProcessTask(TaskBase):
    def __init__(self, logger, handler):
        super(PostProcessTask, self).__init__(logger, handler, ServiceType.S_POST, POSTPROCESS_TOPIC)

    def step_run(self, cfg, H):
        self.logger.info(f'post: {cfg}')
